import wx
from wx import xrc
import guiconfig

from ContiToolFrame import CContiToolFrame


class MyApp(wx.App):
    def OnInit(self):
        guiconfig.load_icons()

        return True

    def Initialize(self):

        frame = CContiToolFrame(None)
        frame.SetIcons(guiconfig.icons)

        self.SetTopWindow(frame)
        frame.Show()

if __name__ == '__main__':
    app = MyApp(False)
    app.Initialize()
    app.MainLoop()
